package ooday01;

public class CarTest {
    public static void main(String[] args) {
        //创建一个汽车对象
        Car qr = new Car();
        qr.brand = "奇瑞";
        qr.price = 100000;
        qr.color = "黑";
        qr.capacity = 5;
        qr.start();
        qr.run();
        qr.stop();

        Car hq = new  Car();
        hq.start();
        hq.run();
        hq.stop();

    }
}



